package com.tedu.springbootdemo1.entity;



import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * Author：毕龙
 * Date: 2024/7/1 11:43
 * 该类对应的表必须是一一对应
 * Student  --   student
 * 属性     -- fields
 * id         id
 * username  username
 * nickname   nickname
 * birthday   birthday
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Student {

    private Integer id;
    private String username;
    private String nickname;
    private Date  birthday;


}
